<h2>Admin MODULE -user Controller- indexAction</h2>
<table border="1">
	<thead>
		<tr>
			<td>Username</td>
			<td>Email</td>
			<td>Power</td>
			<td>Status</td>
			<td>Add</td>
		</tr>
	</thead>
	<tbody>
    <?php
        foreach ($this->users as $user) {
           // print_r($user);
        	echo "<tr>";
        	echo "<td>";
        	echo $user->username;
        	echo "</td>";
        	echo "<td>";
        	echo $user->email;
        	echo "</td>";
        	echo "<td>";
        	echo $user->userpower;
        	echo "</td>";
        	echo "<td>";
        	echo $user->status;
        	echo "</td>";
        	
        	$lnkAdd   = $this->url('admin',
        	    array(
        	        'controller'=>'user',
        	        'action'=>'add',
        	        ));
        	$lnkAdd = '<a href="' . $lnkAdd . '">add</a>';
        	echo '<td class="txtCenter">'  . $lnkAdd .'</td>';
        	echo "</tr>";
        }
    ?>
    </tbody>
</table>